﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ShowBusTicketDetailControl.ascx.cs" Inherits="Control_ShowBusTicketDetailControl" %>
<h2>Bus Ticket Detail Settings</h2> 

<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate> 
    <table id="rounded-corner" >
        <tr>
        	<th scope="col" class="rounded-company"></th>
            <th scope="col" class="rounded">Name Customer</th>
            <th scope="col" class="rounded">Bus No</th>
            <th scope="col" class="rounded">Seat No</th>
            <th scope="col" class="rounded">Price</th>
            
           <!-- <th scope="col" class="rounded">Edit</th>-->
            <th scope="col" class="rounded-q4">Delete</th>
         
        </tr>

<asp:ListView ID="ListView1" runat="server" ItemPlaceholderID="idbtd" DataKeyNames="idbtd">
    <ItemTemplate>
        <tr>
        	<td><input type="checkbox" name="IdBTD" value="<%# Eval("idbtd") %>"/></td>
            <td><%# Eval("customername") %></td>
            <td><%# Eval("busno")%></td>
            <td><%# Eval("seatno")%></td>
            <td><%# Eval("price") %></td>
            
            

            <a href="">../Admin/DeleteBusTicketDetail_Admin.aspx</a>
            <!--<td><a href="InsertTravelPlanControl.ascx?idBTD=<%# Eval("idbtd") %>"><img src="../Images/user_edit.png" alt="" title="" border="0" /></a></td>-->
            <td><a href="../Admin/DeleteBusTicketDetail_Admin.aspx?idBTD=<%# Eval("idbtd") %>" class="ask"><img src="../Images/trash.png" alt="" title="" border="0" /></a></td>
        </tr>
    </ItemTemplate>
    <LayoutTemplate>
        <asp:PlaceHolder runat="server" ID="idbtd"></asp:PlaceHolder>
    </LayoutTemplate>
</asp:ListView> 
</table>
	 <a href="#" class="bt_green"><span class="bt_green_lft"></span><strong>Add new item</strong><span class="bt_green_r"></span></a>
    
     <a href="#" class="bt_red"><span class="bt_red_lft"></span><strong>Delete items</strong><span class="bt_red_r"></span></a> 
     

     <div class="pagination">
         <asp:DataPager ID="DataPagerForAlbums" runat="server" PagedControlID="ListView1" PageSize="5">
                <Fields>
                    <asp:NextPreviousPagerField ShowFirstPageButton="True" FirstPageText="&laquo prev" ShowNextPageButton="False"  ShowPreviousPageButton="false" />
                    <asp:NumericPagerField />
                    <asp:NextPreviousPagerField ShowLastPageButton="True" LastPageText="&raquo next" ShowPreviousPageButton="False"  ShowNextPageButton="false" />
                </Fields>
         </asp:DataPager>
     </div>
        
        </p>
    </ContentTemplate>
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="DataPagerForAlbums" />
    </Triggers>
</asp:UpdatePanel>

